package main

import (
	"log"
	"github.com/gin-gonic/gin"
	"github.com/go-test/router"
	_ "github.com/go-sql-driver/mysql"
	"runtime"
	"strconv"
)

func main() {

	log.Println("server init start, cpu cores:" + strconv.Itoa(runtime.NumCPU()))
	router := gin.Default()
	routerFactory.Router(router)
	router.Run(":8080")
}